<?php

namespace App\Models\Common;

use App\Models\BaseModel;
use Illuminate\Database\Eloquent\Factories\HasFactory;

class CommonPushBindModel extends BaseModel
{
    use HasFactory;

    protected $table = "common_push_bind";

    protected $fillable = [
        "rmsUserId",
        "mobileBrand",
        "status",
        "regId",
        "sign"
    ];

    const MOBILE_BRAND_1    = 1;
    const MOBILE_BRAND_2    = 2;
    const MOBILE_BRAND_3    = 3;
    const MOBILE_BRAND_TEXT = [
        self::MOBILE_BRAND_1 => "小米",
        self::MOBILE_BRAND_2 => "华为",
        self::MOBILE_BRAND_3 => "荣耀",
    ];

    const STATUS_ON  = 1;
    const STATUS_OFF = 0;
}
